package week8.thursday;

public class Car extends Transport {
    private  String fuel;

    public Car(String name,int speed,String fule){
        super(name,speed);
        this.fuel = fule;
    }

    public Car(){
    }
    @Override
    public void moveWay(){
        System.out.println(super.getName()+"的燃料类型为："+fuel);
    }
}
